package fr.perso.ppo.springintegration.business;

import java.util.Date;

import org.apache.commons.lang.time.DateFormatUtils;

public class PaiementIntegrationMessage {

	private String statut;
	private String response;
	private String paiementId;
	private Date trackingDate;
	private String strTrackingDate;
	
	public final String getStatut() {
		return statut;
	}
	public final void setStatut(String statut) {
		this.statut = statut;
	}
	public final String getResponse() {
		return response;
	}
	public final void setResponse(String response) {
		this.response = response;
	}
	public final String getPaiementId() {
		return paiementId;
	}
	public final void setPaiementId(String paiementId) {
		this.paiementId = paiementId;
	}
	public final Date getTrackingDate() {
		return new Date(trackingDate.getTime());
	}
	public final void setTrackingDate(final Date trackingDate) {
		this.trackingDate = trackingDate;
		this.strTrackingDate = DateFormatUtils.format(this.trackingDate, "dd/MM/yyyy HH:mm:ss");
	}
	public final String getStrTrackingDate() {
		return strTrackingDate;
	}
	
	
	

}
